﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SG.Domain.Categoria>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Crear Categoría
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="TitlePage" runat="server">
Crear Categoría
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="HeaderLink" runat="server">
<%: Html.ActionLink("Ir al listado", "Index") %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Categoría</legend>
            <table class="tableData">
            <colgroup>
                <col width="200px" />
                 <col width="300px" />
            </colgroup>
                <tr>
                    <td class="label">Nombre</td>
                    <td class="data"><%: Html.TextBoxFor(model => model.Nombre, new { @style = "width:100%" })%></td>
                </tr>
                <tr>
                    <td class="label">Limite Inferior</td>
                    <td class="data"><%: Html.TextBoxFor(model => model.LimiteInferior, new { @style = "width:100%" })%></td>
                    </tr>
               
                <tr>
                    <td class="label">Limite Superior</td>
                    <td class="data"><%: Html.TextBoxFor(model => model.LimiteSuperior, new { @style = "width:100%" })%></td>
                </tr>
                <tr>
                    <td class="label">Agotamiento Anual Permitido</td>
                    <td class="data"><%: Html.TextBoxFor(model => model.AgotamientoAnualPermitido, new { @style = "width:100%" })%></td>
                </tr>
                

            </table>
            
            
            <p>
                <input type="submit" value="Guardar" />
            </p>
        </fieldset>

    <% } %>

  

</asp:Content>

